<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>果趣网</title>
<link href="__TMPL__Public/css/style.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/common.js"></script>
<script language="javascript">
var URL = '__URL__';
var ROOT_PATH = '__ROOT__';
var APP	 =	 '__APP__';
</script>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" type="text/javascript"></script>
    <script type="text/javascript">
        DD_belatedPNG.fix('div, ul, img, li, input , a');
    </script>
<![endif]--> 
</head>
<body>
	<div id="header">
    	<div class="header_top">
        	<div class="logo fl">
            	<a href="__APP__" title="果趣网，开心消费每一天！"><img src="__TMPL__Public/images/logo.jpg" /></a>        
            </div>
            <div class="header_img fl"></div>
            <div class="header_search fl">
           		<div class="search_left fl">
                	<div class="search_left_l fl"></div>
                    <input type="text" class="search_left_r fr" value="输入email地址，订阅每日团购信息"/>                  
            	</div>
            	<input type="button" class="order fr"/>
            	<div class="cb"></div>
          	</div>
            <div class="cb"></div>     
        </div>
        <div class="header_nav">
        	<div class="nav_content">
                <ul class="nav_title fl">
                    <li <?php if($curr_nav == 'index'): ?>class="nav_title_selected"<?php endif; ?>>
                        <img src="__TMPL__Public/images/header_nav_img1_17.jpg" class="image fl"/>
                        <a href="__APP__" class="fl">今日推荐</a>
                        <div class="cb"></div>
                    </li>
                    <li class="separator"></li>
                    <li <?php if($curr_nav == 'goods'): ?>class="nav_title_selected"<?php endif; ?>><a href="<?php echo u('goods/index');?>">所有团购</a></li>
                    <li class="separator"></li>
                    <li <?php if($curr_nav == 'help'): ?>class="nav_title_selected"<?php endif; ?>><a href="<?php echo u('article/list');?>">新手帮助</a></li>
                    <li class="separator"></li>
                    <li><a href="bbs/">商城社区</a></li>
                    <div class="cb"></div>
                </ul>
                <div class="nav_login fr">
                	<?php if(isset($_SESSION['user_info'])): ?><div class="mycenter fl">
            			<a href="<?php echo u('member/index');?>">我的果趣</a>
                    </div>
                    <div class="logout fl">
                    <a href="<?php echo u('member/logout');?>">退出</a>
                    </div><?php endif; ?>
                    <?php if(!isset($_SESSION['user_info'])): ?><div class="login fl">
                    	<a href="<?php echo u('member/login');?>">登录</a>
                    </div>
                    <div class="registered fl">
                    	<a href="<?php echo u('member/register');?>"> 注册</a>
                    </div><?php endif; ?>
                </div>
                <div class="cb"></div>
            </div>     
         </div>
         <div class="header_recommend">
        	<div class="header_recommend_content">
            	<a href="" class="header_recommend_selected">今日推荐</a>
                <a href="">化妆品</a>
                <a href="">创意家居</a>
                <a href="">酒店</a>
                <a href="">度假</a>
                <div class="cb"></div>
            </div>
        </div>
    </div>

<link href="__TMPL__Public/css/payment.css" type="text/css" rel="stylesheet" />
    <div id="main">
		<div class="content">
        	<form method="post" action="<?php echo u('buy/index', array('id'=>$item['id']));?>">
			<div class="your_order">
				<div class="your_order_top"></div>
				<div class="your_order_center">
					<h3>您的订单</h3>
					<table>
					  <tr>
						<th width="460" scope="col">名称</th>
						<th width="63" scope="col">数量</th>
						<th width="30" scope="col">&nbsp;</th>
						<th width="75" scope="col">单价</th>
						<th width="54" scope="col">&nbsp;</th>
						<th width="240" scope="col">合计
							<div class="baozha_juedui"><?php echo ($item["discount"]); ?>折</div>
						</th>
					  </tr>
					  <tr>
						<td colspan="6" style="border-top:1px #daeaca solid;"></td>
					  </tr>
					  <tr>
						<td style=" line-height:2;"><?php echo ($item["name"]); ?></td>
						<td>
                        	<input name="number" type="text" value="1" size="5" />
						</td>
						<td>X</td>
						<td>￥<?php echo ($item["sprice"]); ?></td>
						<td>=</td>
						<td>￥<?php echo ($item["sprice_total"]); ?></td>
					  </tr>
					  <tr>
						<td></td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
					  </tr>
					  <tr>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td style=" font-size:18px;">&nbsp;</td>
					  </tr>
					   <tr>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>&nbsp;</td>
						<td>总价</td>
						<td>=</td>
						<td class="total">￥<?php echo ($item["amount"]); ?></td>
					  </tr>
					</table>
                    <br /><br /><br />
                    <div class="center_content_down" style="border-top:1px solid #b4b4b4;">
							<div class="submit_order">
								<div class="submit_order_right fr">
									<a href="#">
										<button class="sub_order_button">提交订单</button>	
									</a>
								</div>
								<div class="cb"></div>
							</div>
					</div>
				</div>
				<div class="your_order_down"></div>
                
			</div>
            </form>
		</div>
    </div>
    <div id="footer">
		<div class="footer_content">
			<div class="footer_content_top">
				<ul class="footer_nav fl">
					<li>
						<a href="<?php echo u('article/view', array('id'=>10));?>">关于我们</a><br/>
						<a href="<?php echo u('article/view', array('id'=>13));?>">加入果趣</a><br/>
						<a href="<?php echo u('article/view', array('id'=>14));?>">媒体报道</a>
					</li>
					<li>
						<a href="<?php echo u('article/view', array('id'=>15));?>">豆瓣小组</a><br/>
						<a href="<?php echo u('article/view', array('id'=>16));?>">新浪微博</a><br/>
						<a href="<?php echo u('article/view', array('id'=>17));?>">搜狐微博</a>
					</li>
					<li>
						<a href="<?php echo u('article/view', array('id'=>1));?>">新手帮助</a><br/>
						<a href="<?php echo u('article/view', array('id'=>1));?>">常见问题</a><br/>
						<a href="<?php echo u('article/view', array('id'=>1));?>">消费者保障</a>
					</li>
					<li>
						<a href="<?php echo u('article/view', array('id'=>18));?>">市场合作</a><br/>
						<a href="<?php echo u('article/view', array('id'=>1));?>">友情链接</a><br/>
						<a href="<?php echo u('article/view', array('id'=>19));?>">开放API</a>
					</li>	
				</ul>
				<div class="footer_logo fl">
					<a href="" title="果趣网，开心消费每一天！"><img src="__TMPL__Public/images/footer_logo.jpg"/></a>
				</div>
				<div class="cb"></div>
			</div>	
			<div class="footer_content_center">京ICP证100700号 京IP备08012378号 北京新态互动科贸有限公司 版权所有 Copyright © 2010 MANZUO.COM All Rights Reserved  
			</div>
			<div class="footer_content_down">
				<a href=""><img src="__TMPL__Public/images/foot_wx.gif" /></a>
				<a href=""><img src="__TMPL__Public/images/foot_dx.gif" /></a>
				<a href=""><img src="__TMPL__Public/images/foot_zfb.gif" /></a>			
			</div>
		</div>
	</div>
</body>
</html>